// Fill out your copyright notice in the Description page of Project Settings.


#include "Character/BeseCharacter.h"

ABeseCharacter::ABeseCharacter()
{
	PrimaryActorTick.bCanEverTick = true;
	// ��ʼ��weapon
	weapon = CreateDefaultSubobject<USkeletalMeshComponent>("weapon");
	weapon->SetupAttachment(GetMesh(), FName("weaponhandsocket"));
	// ��������ײ
	weapon->SetCollisionEnabled(ECollisionEnabled::NoCollision);

}

void ABeseCharacter::BeginPlay()
{
	Super::BeginPlay();
	
}


